package com.wyh.domain.po.gfive;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 角色权限表
 * @TableName role_permissions
 */
@TableName(value ="role_permissions")
@Data
public class RolePermissions implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 角色id
     */
    @ApiModelProperty("角色id")
    private Integer roleid;

    /**
     * 权限id
     */
    @ApiModelProperty("权限id")
    private Integer permissionid;

    /**
     * 状态
     */
    @ApiModelProperty("状态")
    private Integer state;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
